package me.liangdi.spring.todo.repository;

import me.liangdi.spring.todo.bean.TodoList;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * TODOLIST Repo 接口
 * Spring data 文档
 * http://docs.spring.io/spring-data/commons/docs/current/reference/html/
 *
 * Created by liangdi on 1/5/16.
 */
public interface TodoListRepository extends MongoRepository<TodoList,String>{
    List<TodoList> findByDeleted(boolean deleted);
}
